package com.xx.design.exception.ass;

import com.xx.design.exception.base.BusinessException;

/**
 * BusinessException 断言工具
 *
 * @author EDY
 */
public class BusinessExceptionAssert extends AbstractAssert {

    /**
     * 生成 BusinessException
     *
     * @param message 异常消息
     * @return BusinessException
     */
    @Override
    public RuntimeException newException(String message) {
        return new BusinessException(message);
    }
}
